package com.wiscamp.ninechapters.challenges.domain.models;

import cube.ddd.domain.Entity;
import lombok.Data;

/**
 * 用户积分
 */
@Data
public class UserPoints implements Entity {
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    private long id;

    /**
     * 用户编号
     */
    private long userId;

    /**
     * 总积分
     */
    private int totalPoints;

    /**
     * 总排名
     */
    private int totalRank;

    /**
     * 级别
     */
    private int level;

    /**
     * 生命值
     */
    private int hearts;

    /**
     * 是否组队
     */
    private boolean hasGroup = false;

    /**
     * 时间标签
     */
    //private LocalDateTime timeStamp;

    private String nickName = "";

    private String avatarUrl = "";
}